package com.filldream.fastboot.base.response.pc;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class DeptTreeDTO {

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty(value = "父级部门ID")
    private Long parentId;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "部门排序，数值越小优先级越高")
    private Integer deptRank;

    @ApiModelProperty(value = "负责人姓名")
    private String leader;

    @ApiModelProperty(value = "负责人手机号")
    private String phone;

    @ApiModelProperty(value = "负责人邮箱")
    private String email;

    private String parentName;

    @ApiModelProperty(value = "状态 1-启用 0-禁用")
    private Boolean status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "子级列表")
    private List<DeptTreeDTO> children;

    @ApiModelProperty(value = "部门类型 1-公司 0-部门")
    private Integer deptType;

}
